{% load static %}
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>信息管理系统_用户登录</title>

    <link rel="stylesheet" type="text/css" href="{% static 'easyui/themes/default/easyui.css' %}"/>
    <link rel="stylesheet" type="text/css" href="{% static 'easyui/themes/icon.css' %}"/>
    <link rel="stylesheet" type="text/css" href="{% static 'css/login.css' %}"/>
</head>
<body>
<form action="login" method="POST">
    <div id="login">
        <p>登录用户：<input type="text" name="username" class="textbox"></p>
        <p>登录密码：<input type="password" name="password" class="textbox"></p>
        {% csrf_token %}
        <p><font color="#999">记住账号</font>
            <input id="saveid" type="checkbox" onclick="savePaw();"/>
            <a href="{% url 'Index:register' %}">注册</a>
        </p>
    </div>
    <div id="btn">
        <input type="submit" style="width: 100%" class="layui-btn" value="登录">
    </div>
</form>


<script type="text/javascript" src="{% static 'easyui/jquery.min.js' %}"></script>
<script type="text/javascript" src="{% static 'easyui/jquery.easyui.min.js' %}"></script>
<script type="text/javascript" src="{% static 'easyui/locale/easyui-lang-zh_CN.js' %}"></script>
<script type="text/javascript" src="{% static 'easyui/jquery.cookie.js' %}"></script>
<script type="text/javascript" src="{% static 'js/login.js' %}"></script>


<style>
    html {
        height: 100%;
    }
    body {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        model: true;
        iconCls: 'icon-login';
        buttons: '#btn';
    }
    label {
        padding: 10px;
    }
</style>
</body>
</html>
</html>
